package com.zuorenke.vertx.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Z.R.K
 * @description
 * @create 2019-05-16 15:21:24
 **/
@Data
@Component
@ConfigurationProperties(prefix = "redis.jedis")
public class RedisProperties {
	private String clusterNodes;
	private Integer timeout = 5;
	private Integer poolMaxTotal = 5;
	private Integer poolMaxIdle = 5;
	private Integer poolMinIdle = 0;
	private Long poolMaxWait = 5000L;
	private Integer poolMaxRedirections;
}
